package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.Goods;
import com.ruoyi.system.domain.OrderDetails;

/**
 * 订单详情Service接口
 * 
 * @author ruoyi
 * @date 2023-12-23
 */
public interface IOrderDetailsService 
{
    /**
     * 查询订单详情
     * 
     * @param orderDetailsID 订单详情主键
     * @return 订单详情
     */
    public List<Goods> selectOrderDetailsByOrderDetailsID(Long orderDetailsID);

    /**
     * 查询订单详情列表
     * 
     * @param orderDetails 订单详情
     * @return 订单详情集合
     */
    public List<OrderDetails> selectOrderDetailsList(OrderDetails orderDetails);

    /**
     * 新增订单详情
     * 
     * @param orderDetails 订单详情
     * @return 结果
     */
    public int insertOrderDetails(OrderDetails orderDetails);

    /**
     * 修改订单详情
     * 
     * @param orderDetails 订单详情
     * @return 结果
     */
    public int updateOrderDetails(OrderDetails orderDetails);

    /**
     * 批量删除订单详情
     * 
     * @param orderDetailsIDs 需要删除的订单详情主键集合
     * @return 结果
     */
    public int deleteOrderDetailsByOrderDetailsIDs(Long[] orderDetailsIDs);

    /**
     * 删除订单详情信息
     * 
     * @param orderDetailsID 订单详情主键
     * @return 结果
     */
    public int deleteOrderDetailsByOrderDetailsID(Long orderDetailsID);
}
